package cn.bugDance.infrastructure.persistent.dao;

import cn.bugDance.infrastructure.persistent.po.ActivityAccount;
import cn.bugstack.middleware.db.router.annotation.DBRouterStrategy;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface IActivityAccountDao {

    ActivityAccount getActivityAccountByUserIdAndActivityId(@Param("userId") String userId, @Param("activityId") Long activityId);

    void insert(ActivityAccount activityAccount);

    int updateActivityAccount(ActivityAccount activityAccount);

    int update(@Param("userId") String userId, @Param("activityId") Long activityId);
}
